package com.his.bean;

import java.io.Serializable;
import java.util.Objects;

/**
 * 我的排班
 * @TableName dzm_his_scheduling
 */
public class DzmHisScheduling implements Serializable {
    /**
     * 
     */
    private Long schedulingId;

    /**
     * 医生ID
     */
    private Integer physicianid;

    /**
     * 科室ID
     */
    private Integer departmentId;

    /**
     * 诊所ID
     */
    private Integer companyId;

    /**
     * 本周开始时间
     */
    private String startTimeThisWeek;

    /**
     * 本周结束时间
     */
    private String endTimeThisWeek;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 更新时间
     */
    private String updateTime;
    /**
     * 排班星期表/星期
     * */
    private int week;

    /**
    * 医生信息表/医生姓名
    * */
    private String  trueName;

    /**
     * 科室表/科室名称
     */
    private String departmentName;
    /**
     * 排班分段表/每天时段早晚
     */
    private String subsectionType;
    /**
     * 医院名称
     */
    private String hospital_name;

    public Long getSchedulingId() {
        return schedulingId;
    }

    public void setSchedulingId(Long schedulingId) {
        this.schedulingId = schedulingId;
    }

    public Integer getPhysicianid() {
        return physicianid;
    }

    public void setPhysicianid(Integer physicianid) {
        this.physicianid = physicianid;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getStartTimeThisWeek() {
        return startTimeThisWeek;
    }

    public void setStartTimeThisWeek(String startTimeThisWeek) {
        this.startTimeThisWeek = startTimeThisWeek;
    }

    public String getEndTimeThisWeek() {
        return endTimeThisWeek;
    }

    public void setEndTimeThisWeek(String endTimeThisWeek) {
        this.endTimeThisWeek = endTimeThisWeek;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getWeek() {
        return week;
    }

    public void setWeek(int week) {
        this.week = week;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getSubsectionType() {
        return subsectionType;
    }

    public void setSubsectionType(String subsectionType) {
        this.subsectionType = subsectionType;
    }

    public String getHospital_name() {
        return hospital_name;
    }

    public void setHospital_name(String hospital_name) {
        this.hospital_name = hospital_name;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        DzmHisScheduling that = (DzmHisScheduling) o;
        return week == that.week &&
                schedulingId.equals(that.schedulingId) &&
                physicianid.equals(that.physicianid) &&
                departmentId.equals(that.departmentId) &&
                companyId.equals(that.companyId) &&
                startTimeThisWeek.equals(that.startTimeThisWeek) &&
                endTimeThisWeek.equals(that.endTimeThisWeek) &&
                createTime.equals(that.createTime) &&
                updateTime.equals(that.updateTime) &&
                trueName.equals(that.trueName) &&
                departmentName.equals(that.departmentName) &&
                subsectionType.equals(that.subsectionType) &&
                hospital_name.equals(that.hospital_name);
    }

    @Override
    public int hashCode() {
        return Objects.hash(schedulingId, physicianid, departmentId, companyId, startTimeThisWeek, endTimeThisWeek, createTime, updateTime, week, trueName, departmentName, subsectionType, hospital_name);
    }

    @Override
    public String toString() {
        return "DzmHisScheduling{" +
                "schedulingId=" + schedulingId +
                ", physicianid=" + physicianid +
                ", departmentId=" + departmentId +
                ", companyId=" + companyId +
                ", startTimeThisWeek='" + startTimeThisWeek + '\'' +
                ", endTimeThisWeek='" + endTimeThisWeek + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", week=" + week +
                ", trueName='" + trueName + '\'' +
                ", departmentName='" + departmentName + '\'' +
                ", subsectionType='" + subsectionType + '\'' +
                ", hospital_name='" + hospital_name + '\'' +
                '}';
    }
}